<div id="main">
    <div id="home-body" class="container clearfix2">
        <div id="home-release-type-block">
            <ul id="home-release-type-nav" class="pinned">
                <li <?php if (!isset($ReleaseType) || $ReleaseType == 0) echo 'class="active"'; ?>><a href="<?php echo base_url('home/commodityRequire') ?>">全部</a></li>
                <li <?php if (isset($ReleaseType) && $ReleaseType == 1) echo 'class="active"'; ?>><a href="<?php echo base_url('home/commodityRequire/1') ?>">求物</a></li>
                <li <?php if (isset($ReleaseType) && $ReleaseType == 3) echo 'class="active"'; ?>><a href="<?php echo base_url('home/commodityRequire/3') ?>">求帮</a></li>
            </ul>
        </div>
        <?php $this->load->view('modal/show-commodity-require-array') ?>
        <div id="pagination">
            <?php if (isset($Pagination)) echo $Pagination; ?>
        </div>
    </div>

    <div id="home-sidebar">
        <?php $this->load->view('home/home-sidebar'); ?>
    </div>
</div>
<!--右侧分类固定-->
<script>
  $(".pinned").pin({containerSelector: ".container"});
</script>
